home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / p_pending.c < prev    next >
Text File  |  1993-08-08  |  552b  |  14 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <process.h>
  6. include <debug.h>    /* DELETE */
  7. nt process::pending()
  8.  
  9.    if (debug) /*DELETE*/ cerr << "process" << this << "::pending()\n";
  10.    if (debug) /*DELETE*/ cerr << "\t" << this << "->t_curstate == " << ps_print(t_curstate) << "\n";
  11.    if (debug) /*DELETE*/ cerr << "<<<< process" << this << "::pending() <- " << (t_curstate != TASK_TERMINATED) << "\n";
  12.    return t_curstate != TASK_TERMINATED;
  13.  
  14.